@@ -47,7 +47,6 @@ |
||
47 | 47 |
</div> |
48 | 48 |
<div class="form-actions" style="margin: 0px; margin-top: 15px;"> |
49 | 49 |
<%= f.submit (t 'registration.update') %> |
50 |
- <%= link_to (t 'nav.back'), :back, class: 'btn btn-link' %> |
|
51 | 50 |
<%= link_to ('<i class="fa fa-exclamation-triangle"></i> '+(t 'registration.cancel_account')).html_safe, delete_user_account_path, data: { confirm: (t 'registration.cancel_confirmation') }, method: :delete, class: 'btn btn-danger pull-right', id: "delete_account" %> |
52 | 51 |
</div> |
53 | 52 |
</div> |
@@ -28,7 +28,7 @@ after_fork do |server, worker| |
||
28 | 28 |
|
29 | 29 |
# If you are using Redis but not Resque, change this |
30 | 30 |
if defined?(Resque) |
31 |
- Resque.redis = ENV['REDIS_URI'] |
|
31 |
+ Resque.redis = ENV['REDISTOGO_URL'] |
|
32 | 32 |
Rails.logger.info('Connected to Redis') |
33 | 33 |
end |
34 | 34 |
end |